<?php 
/*
 module:		轮播图管理验证器
 create_time:	2022-05-19 17:14:04
 author:		
 contact:		
*/

namespace app\backend\validate;
use think\validate;

class ZhBanner extends validate {


	protected $rule = [
		'type'=>['require'],
		'image'=>['require'],
	];

	protected $message = [
		'type.require'=>'轮播图类型不能为空',
		'image.require'=>'图片不能为空',
	];

	protected $scene  = [
		'add'=>['type','image'],
		'update'=>['type','image'],
	];



}

